﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication7.Models
{
    public class triangle : shapes
    {
        public int height { get; set; }
        public int triBase { get; set; }

        public override double GetArea()
        {
            return this.height * this.triBase * .5;
        }
    }
}